/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.pbs.interfaces;

import br.com.pbs.exeptions.BancoExeption;
import java.util.List;

/**
 *
 * @author Luiz Segundo
 */
public interface IFacadePessoa<T> {

        boolean cadatraPessoa(T p)throws BancoExeption;

        boolean deletaPessoa(T p)throws BancoExeption;

        T buscaPorNome(String nome)throws BancoExeption;

        boolean atualizaPessoa(T p) throws BancoExeption;

        List<T> listaDeNomes(String nome) throws BancoExeption;
}
